package com.ruoyi.project.warehouseSystem.mapper;

import java.util.List;
import com.ruoyi.project.warehouseSystem.domain.CWarehouse;

/**
 * 仓库的增删改查Mapper接口
 * 
 * @author wangshuo
 * @date 2021-07-18
 */
public interface CWarehouseMapper 
{
    /**
     * 查询仓库的增删改查
     * 
     * @param id 仓库的增删改查ID
     * @return 仓库的增删改查
     */
    public CWarehouse selectCWarehouseById(Long id);

    /**
     * 查询仓库的增删改查列表
     * 
     * @param cWarehouse 仓库的增删改查
     * @return 仓库的增删改查集合
     */
    public List<CWarehouse> selectCWarehouseList(CWarehouse cWarehouse);

    /**
     * 新增仓库的增删改查
     * 
     * @param cWarehouse 仓库的增删改查
     * @return 结果
     */
    public int insertCWarehouse(CWarehouse cWarehouse);

    /**
     * 修改仓库的增删改查
     * 
     * @param cWarehouse 仓库的增删改查
     * @return 结果
     */
    public int updateCWarehouse(CWarehouse cWarehouse);

    /**
     * 删除仓库的增删改查
     * 
     * @param id 仓库的增删改查ID
     * @return 结果
     */
    public int deleteCWarehouseById(Long id);

    /**
     * 批量删除仓库的增删改查
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCWarehouseByIds(Long[] ids);
}
